package Graph;

import java.io.*;

public class TestTopoSort {
    public static void main(String[] args) throws IOException {

        DirectedGraph directedGraph = new DirectedGraph();
        try{
            directedGraph.topoSort();
        }catch(Exception e){
            System.out.println("graph has circle");
            e.printStackTrace();
        }
    }
}
